﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="SearchCustomers.aspx.cs" Inherits="Main.SearchCustomers" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<asp:Table  runat="server">
<asp:TableRow>
<asp:TableCell><asp:TextBox ID="txtSearch" runat="server" Width="250px"></asp:TextBox></asp:TableCell>
<asp:TableCell ><asp:Button ID="btnSearch" runat="server" Text="Search" OnClick="btnSearch_Click" /></asp:TableCell>
</asp:TableRow>
</asp:Table>

<asp:Label ID="lblError" runat="server" Visible="false"></asp:Label>


<asp:Table ID="tblResult" runat="server" Visible="false">
<asp:TableRow Height="20px"><asp:TableCell Height="20px"></asp:TableCell></asp:TableRow>
<asp:TableRow>
<asp:TableCell><asp:ListBox ID="listResult" runat="server" Height="120px"></asp:ListBox></asp:TableCell>
</asp:TableRow>
</asp:Table>

<asp:Table ID="tblBtn" runat="server" Visible="false">
<asp:TableRow>
<asp:TableCell ><asp:Button ID="btnShow" runat="server" Text="Show Invoice" OnClick="btnShow_Click" /></asp:TableCell>
</asp:TableRow>
</asp:Table>

<asp:Table ID="tblInvoice" runat="server" Visible="false">
<asp:TableRow Height="20px"><asp:TableCell Height="20px"></asp:TableCell></asp:TableRow>
<asp:TableRow>
<asp:TableCell><asp:ListBox ID="listInvoice" runat="server"  Height="120px"></asp:ListBox></asp:TableCell>
</asp:TableRow>
</asp:Table>

<asp:Table ID="tblCreateInvoice" runat="server" Visible="false">
<asp:TableRow  Height="30px"><asp:TableCell Height="30px"></asp:TableCell></asp:TableRow>
<asp:TableRow  Height="30px"><asp:TableCell Height="30px"><asp:Label runat="server"><i>Sell:</i></asp:Label></asp:TableCell></asp:TableRow>
<asp:TableRow Height="20px">
<asp:TableCell><asp:Label ID="lblProduct" runat="server">Product:</asp:Label></asp:TableCell>
<asp:TableCell><asp:DropDownList ID="ddlProduct" runat="server" Width="250px"></asp:DropDownList></asp:TableCell>
</asp:TableRow>

<asp:TableRow>
<asp:TableCell><asp:Label ID="lblAmount" runat="server">Amount:</asp:Label></asp:TableCell>
<asp:TableCell><asp:TextBox ID="txtAmonut" runat="server" Width="150px"></asp:TextBox></asp:TableCell>
</asp:TableRow>

<asp:TableRow>
<asp:TableCell></asp:TableCell>
<asp:TableCell ><asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" /><asp:Button ID="btnReset" runat="server" Text="Reset" OnClick="btnReset_Click"/></asp:TableCell>
</asp:TableRow>
</asp:Table>
<asp:Label ID="lblInvoiceError" runat="server" Visible="false"></asp:Label>
</asp:Content>

